<template>
  <div id="app" style="width:100%;height: 100%">

    <router-view />



  </div>
</template>

<script>
import ResizeMixin from './network/mixin/ResizeHandler'
export default {
  name: 'App',
  data() {
    return {
      platformName: ''
    }
  },
  mixins: [ResizeMixin],
  mounted() {

  },
  methods: {
    async getPlatform() {
      try {
        await this.$axios({
          // 详见 axios 请求配置项
          method: 'GET',
          url: '/institutions/platform'
        }).then(res => {
          // 请求失败
          if (res.data.code !== 200) {
            throw new Error(res.data)
          }
          // 请求成功
          const result = res.data.data
          this.platformName = result.name
        })
      } catch (e) {
        // 跳出
      }
    }
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  height: max-content;
  width: 100%;
}

.system-logo {
  width: 108px;
  height: 40px;
}

.header-user-headimg {
  height: 32px;
  width: 32px;
  border-radius: 32px;
}

.breadcrumb-base {
  width: calc(100% - 45px);
  height: 30px;

  margin-left: 20px;
  margin-bottom: 10px;
  padding-left: 5px;

  line-height: 30px;
  background-color: #ffffff;

  font-size: 15px;
}

.main-container {
  margin: 10px 0;
  background: #ffffff;
  padding: 20px 40px;
  min-height: 795px;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
}

.title {
  font-size: 20px;
}

.title-medium {
  font-size: 18px;
}

.title-small {
  font-size: 16px;
}

.text-important {
  font-weight: 700;
}

.content-text {
  font-size: 14px;
}

.line-text-title {
  margin: 10px 0;
  line-height: 30px;
}

.line-text {
  line-height: 30px;
}

.line-form {
  height: 40px;
}

.input-form {
  width: 100%;
  max-width: 210px;
}

.picker-form {
  width: 100%;
  max-width: 210px;
}

.radio-group {
  padding: 10px 0 0 0;

  line-height: 24px;
}

.time-picker-form {
  max-width: 280px;
}

/*组件样式修正*/
.el-form-item {
  margin-bottom: 0;
}

.el-form-item__content .el-input-group {
  vertical-align: unset;
}

.el-dialog__body {
  padding: 10px 20px;
  color: #606266;
  font-size: 14px;
  word-break: break-all;
}

.el-input.is-disabled .el-input__inner {
  color: #606266 !important;
}

.el-input__inner {
  padding: 0 10px;
}

.el-input-group__append {
  width: 20px;
}

.formLableColor .el-form-item__label {
  color: #fafafa;
}

/*报告模板样式*/
#custom-report .el-input__inner {
  /*//自定义修改*/
  text-align: -webkit-match-parent;
  padding: 0 4px;
}

#custom-report .el-input__icon {
  /*//自定义修改*/
  line-height: 28px;
}

#custom-report .el-input__inner {
  /*//自定义修改*/
  text-align: -webkit-match-parent;
  height: 28px;
  padding: 0 0 0 4px;
}

#custom-report .el-input__suffix {
  /*//自定义修改*/
  right: 0;
}

/* 上传的组件样式 */
.avatar-uploader-icon {
  font-size: 28px;
  color: #8c939d;
  width: 146px;
  height: 146px;
  line-height: 146px;
  text-align: center;
}

.avatar-uploader-img {
  width: 146px;
  height: 146px;
  display: block;
}

.el-upload .el-upload-dragger {
  width: 146px;
  height: 146px;
}

.dimspace .el-form-item {
  margin-bottom: 9px;
}

.el-dialog__headerbtn .el-dialog__close {
  color: red;
  font-size: 30px;
  font-weight: bold;
}
</style>
